2.4.0
Describe the bugAfter updating to 2.4.0, I am seeing the Navbar component with shouldHideOnScroll set to true resulting in the Navbar disappearing after a few scrolls going up & down. Or, if it doesn't disappear, it reverts to sticky behavior. This happens even on the NextUI component documentation page under the 'Hide on scroll' section. A page refresh brings it back.
Your Example Website or AppNo response
Steps to Reproduce the Bug or Issue1- Go to https://nextui.org/docs/components/navbar#hide-on-scroll2- Start scrolling up and down a few times3- Navbar disappears or goes to sticky4- Tested on Chrome, Edge, and both mobile/desktop.
Expected behaviorAs a user, the Navbar should hide on scroll, but reappear right when I scroll back up, and should always be at the very top if I have not scrolled or if I returned the scroll all the way to the top.
Screenshots or Videos Navbar_scroll_issue.mp4 Operating System VersionWindows 11, Android 14
BrowserChrome